package it.trio.minesweeper.domain;

public class MSGame {

	public static final int LOST = 1;
	public static final int CONTINUE = 0;
	
	private int state = CONTINUE;
	private MineField minefield;

	public MSGame() {
		minefield = new MineField(this);
	}
	
	public int getState() {
		return state ;
	}

	public void lose() {
		state = LOST;		
	}

	public void uncover(int i, int j) {
		minefield.uncover(i, j);
	}

}
